﻿using System;

namespace SilverlightRestServices.Description
{
    public enum RestFormat
    {
        Xml = 0,
        Json = 1
    }

    public class RestGetAttribute : Attribute
    {
        public String Url { get; set; }

        public RestFormat ResponseFormat { get; set; }

        public RestGetAttribute(String url)
        {
            this.Url = url;
        }
    }
}
